﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Domain
{
    public class PrintMedia
    {
        [Key]
        [StringLength(6)]
        public string PrintMediaCode { get; set; }

        [Required]
        [StringLength(100)]
        public string NameEn { get; set; }

        [Required]
        [StringLength(100)]
        public string NameRu { get; set; }

        [Required]
        [StringLength(100)]
        public string NameAm { get; set; }
        public short? Weight { get; set; }
        public decimal Price { get; set; }
        public string SizeISO { get; set; }
        public virtual PrintMediaType PrintMediaType { get; set; }

        public virtual ICollection<ProductType> ProductTypes { get; set; }
    }
}
